<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>조인하와이</title>
<link href="/css/home.css" rel="stylesheet" type="text/css">
<script language="javascript">

	function setCookie(name, value, expiredays){
		var todayDate = new Date();
		todayDate.setDate(todayDate.getDate() + expiredays);
		document.cookie = name + "=" + escape(value) + "; path=/; expires=" + todayDate.toGMTString() + ";"
	}

	function closeWin(){
		//alert("start");
		if(document.form1.Notice.checked){
		setCookie( "notice", "1" , 1);
		//alert("check");
		}
		self.close();
	}
</script>
</head>
<body>

	<div>
			<img src="/home/popup/promotion.jpg"/>
	</div>
	<div class="popup_notice">
	<form name="form1" >
	<input type="checkbox" name="notice"  OnClick="closeWin()">오늘은 이창을 다시 열지않음</input>
	</form>
	</div>
</body>
</html>